/* example1.c                                                      */
/*                                                                 */
/* This small program shows how to print a rotated string with the */
/* FreeType 2 library.                                             */


#include <stdio.h>
#include <string.h>
#include <math.h>

#include <ft2build.h>
#include <assert.h>
#include FT_FREETYPE_H
#include FT_CFF_DRIVER_H
#include FT_MODULE_H


int
main( int     argc,
      char**  argv )
{
  FT_Library    library;
  FT_Face       face;

  FT_GlyphSlot  slot;
  FT_Matrix     matrix;                 /* transformation matrix */
  FT_Vector     pen;                    /* untransformed origin  */
  FT_Error      error;

  error = FT_Init_FreeType( &library );              /* initialize library */
  /* error handling omitted */

  int engine = -1;
  error = FT_Property_Get(library, "cff", "hinting-engine", &engine);

  printf("hinting-engine:%s\n", \
  engine == FT_CFF_HINTING_FREETYPE ?\
   "FT_CFF_HINTING_FREETYPE" : \
   "FT_CFF_HINTING_ADOBE");

  FT_Done_FreeType( library );

  return 0;
}

/* EOF */
